/*
 * Copyright 2010 Mttang.com All right reserved. This software is the confidential and proprietary information of
 * Mttang.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Mttang.com.
 */
package com.mttang.sys.biz.service;

import java.util.List;
import java.util.Map;

import com.mttang.info.core.ParameterModel;
import com.mttang.info.core.ResultDTO;
import com.mttang.sys.dto.UserDTO;

/**
 * 类UserService.java的实现描述：TODO 类实现描述
 * 
 * @author acc 2010-5-31 下午01:50:53
 */
public interface UserService {

    public ResultDTO<UserDTO> findUser(ParameterModel parameter);

    public Long findCount(Map<String, Object> param);
    
    public List<Map<String, Object>> findAllUserList(Map<String, Object> param);

    public UserDTO findById(Integer id);

    public void insert(UserDTO dto,Map<Object, Object> logMap);

    public void update(UserDTO dto,Map<Object, Object> logMap);

    public void updateByEmpno(UserDTO dto,Map<Object, Object> logMap);
    
    public UserDTO findByEmpno(String empno);
    
    public void delete(UserDTO dto,Map<Object, Object> logMap);

    public UserDTO login(UserDTO dto,Map<Object, Object> logMap);
}
